package com.wulis.common.enums;

/**
 * 空值默认填充字段
 * 
 * @author wuligao
 */
public enum FillFieldEnum {
    /**
     * 主键ID
     */
    ID("id", "id"),

    /**
     * 创建时间
     */
    CREATE_TIME("create_time", "createTime"),

    /**
     * 修改时间
     */
    UPDATE_TIME("update_time", "updateTime"),

    /**
     * 创建人
     */
    CREATE_BY("create_by", "createBy"),

    /**
     * 修改人
     */
    UPDATE_BY("update_by", "updateBy"),

    /**
     * 逻辑删除字段
     */
    DELETED("deleted", "deleted");

    FillFieldEnum(String column, String property) {
        this.column = column;
        this.property = property;
    }

    public String getColumn() {
        return this.column;
    }

    public String getProperty() {
        return this.property;
    }

    private final String column;

    private final String property;

}
